using System.Drawing;
using System.IO;

namespace AppliedRecognition.Util
{
	public class QSRes
	{
		public QSRes()
		{
		}

		private static  Icon _icon=null;
		public static Icon QSIcon
		{
			[System.Diagnostics.DebuggerStepThrough()]
			get 
			{
				if (_icon == null)
					_icon= new Icon(typeof(QSRes).Assembly.GetManifestResourceStream("QSRes.QS.ico"));
				return _icon;
			}
		}

		public static System.IO.Stream SplashScreenImage 
		{
			[System.Diagnostics.DebuggerStepThrough()]
			get 
			{ 
				return typeof(QSRes).Assembly.GetManifestResourceStream("QSRes.QS-SplashScreen.gif");
			}
		}

		public static string HelpStyleSheet
		{
			[System.Diagnostics.DebuggerStepThrough()]
			get
			{
				Stream st = typeof(QSRes).Assembly.GetManifestResourceStream("QSRes.Help.css");
				StreamReader rd = new StreamReader(st);
				string css = rd.ReadToEnd();
				rd.Close();
				st.Close();
				return css;
			}
			}
		}

}
